package hsl.haxe.argument;
import hsl.haxe.Subject;

class ConstantArgument<ArgumentType, Datatype> implements ListenerArgument<ArgumentType, Datatype> {
	private var value:ArgumentType;
	public function new(value:ArgumentType):Void {
		this.value = value;
	}
	public function getValue(data:Datatype, currentTarget:Subject):ArgumentType {
		return value;
	}
}
